package com.tencreat.service.mall;

import com.baomidou.mybatisplus.extension.service.IService;
import com.tencreat.common.constant.TencreatIdAndName;
import com.tencreat.common.core.HttpResult;
import com.tencreat.common.core.domain.model.ReqIdsParam;
import com.tencreat.domain.mall.MallLunbo;
import com.tencreat.domain.mall.MallStorage;
import com.tencreat.domain.mall.vo.AdminLunboVO;
import com.tencreat.domain.mall.dto.AdminLunboAddEditDTO;
import com.tencreat.domain.mall.vo.MallLunboVO;
import org.springframework.web.multipart.MultipartFile;

import java.util.List;

/**
 * 【请填写功能名称】Service接口
 *
 * @author tencreat
 * @date 2021-09-15
 */
public interface IMallLunboService  extends IService<MallLunbo> {
    HttpResult<AdminLunboVO> lunboInfoData(Integer objId);

    HttpResult<List<TencreatIdAndName>> locatTypeData();
    HttpResult<Boolean> del(Integer id);

    HttpResult<String> addEdit(AdminLunboAddEditDTO adminLunboAddEditVo);

    HttpResult<List<MallLunboVO>> getList(Integer type);

    HttpResult<MallStorage> sort(ReqIdsParam ids);
}
